package com.huatai.bpmn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 部门用户表
 * </p>
 *
 * @author yxy
 * @since 2023-09-20
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_department_user")
@ApiModel(value = "DepartmentUserEntity对象", description = "部门用户表")
public class DepartmentUserEntity implements Serializable {


    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("部门id")
    private Long departmentId;

    @ApiModelProperty("用户id")
    private Long userId;


}
